package com.jlu.controller;

import com.jlu.feignclient.HystirxClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class TestDemoController {

  @Resource
  private HystirxClient hystirxClient;

  @GetMapping("test")
  public String test(){

    String test = hystirxClient.test(-1);
    return "test is ok!!!" + test;
  }
}
